package com.ks.service;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ks.base.BaseService;
import com.ks.dao.ContentQuestionDao;

@Service("contentQuestionService")
public class ContentQuestionService<T> extends BaseService<T> {
    private final static Logger log = Logger.getLogger(ContentQuestionService.class);

    @Autowired
    private ContentQuestionDao<T> dao;

    public ContentQuestionDao<T> getDao() {
        return dao;
    }

    public int queryCountByIdType(Object o) {
        return dao.queryCountByIdType(o);
    }

    public Integer findCountByContentId(Object o){
        return dao.findCountByContentId(o);
    }

}
